package com.yiwyn.flowdemo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 
 * @TableName process_instance
 */
@TableName(value = "process_instance")
@Data
public class ProcessInstance {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String instanceId;

    /**
     * 
     */
    private String definitionId;

    /**
     * 
     */
    private String businessKey;

    /**
     * 
     */
    private String currentNodeId;

    /**
     * 
     */
    private String previousNodeId;

    /**
     * 
     */
    private String status;

    /**
     * 
     */
    private String assignee;

    /**
     * 
     */
    private Date createTime;

    /**
     * 
     */
    private Date updateTime;

    /**
     *
     */
    private Integer historyId;
}